function login() {
	var xhr = false;
	xhr = new XMLHttpRequest();
	xhr.onreadystatechange = function() {
		var message;
		if (xhr.readyState == 4) {
			if (xhr.status == 200) {

				json = JSON.parse(xhr.responseText);

				if (json == 1) {
					toastr.success("登录成功", "操作成功");
					window.location = "/jxfgyj/video/VideoManage";
				} else {
					toastr.error("登录失败", "操作失败");
				}

			} else {
				// toastr.error(xhr.status);
			}
		}
	}
	var formData = new FormData();
	xhr.open("POST", "/jxfgyj/user/login");
	formData.append("user.user_account", account.value);
	formData.append("user.user_password", password.value);
	xhr.send(formData);
}